<extend name="public:base" />

<block name="left">
    <div class="mark_bar cl">
        <a href="javascript:history.back(-1);" class="goback fl"><i class="iconfont">&#xe600;</i></a>
        <p>修改登录密码</p>
    </div>
</block>

<block name="main">
    <div class="container">
    	<form action="{:url('uc/safe/password')}" method="post" id="form">
        <div class="form">
            <div class="input_form">
                <div class="input_form_bar">
                    <p>原始密码</p>
                    <input name="password" id="password" placeholder="请输入原始密码" type="password" autocomplete="off"/>
                    <i class="iconfont passeye">&#xe626;</i>
                    <div class="cl"></div>
                </div>
                <div class="input_form_bar">
                    <p>新密码</p>
                    <input name="password1" id="password1" placeholder="请输入8-16位的包含字母和数字密码" type="password" autocomplete="off"/>
                    <i class="iconfont passeye">&#xe626;</i>
                    <div class="cl"></div>
                </div>
                <div class="input_form_bar">
                    <p>确认密码</p>
                    <input name="password2" id="password2" placeholder="再次输入密码" type="password" autocomplete="off"/>
                    <i class="iconfont passeye">&#xe626;</i>
                    <div class="cl"></div>
                </div>
            </div>
            <div class="wrap">
                <button class="submit" type="submit">确认修改</button>
                <div class="cl"></div>
            </div>
        </div>
        </form>
    </div>
</block>

<block name="menu"></block>

<block name="js">
    <script type="text/javascript" src="__JS__/check.js?v={:config('app_ver')}"></script>
    <script type="text/javascript">
        $('#form').submit(function() {
            if(!checkoldPassword()) return false;
            if(!recheckPassword()) return false;
            return ajax_post($(this));
        })
    </script>
</block>